package org.jeecg.modules.xxgx.khgl.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 客户管理
 * @Author: jeecg-boot
 * @Date:   2023-10-19
 * @Version: V1.0
 */
@Data
@TableName("cs_xx_custom")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="cs_xx_custom对象", description="客户管理")
public class CsXxCustom implements Serializable {
    private static final long serialVersionUID = 1L;

    /**编号*/
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "编号")
    private java.lang.String id;
    /**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
    /**创建日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
    /**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
    /**更新日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
    /**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
    /**租户编号*/
    @ApiModelProperty(value = "租户编号")
    private java.lang.Integer tenantId;
    /**客户来源*/
    @Excel(name = "客户来源", width = 15, dicCode = "xxkhly")
    @Dict(dicCode = "xxkhly")
    @ApiModelProperty(value = "客户来源")
    private java.lang.String khly;
    /**客户代码*/
    @Excel(name = "客户代码", width = 15)
    @ApiModelProperty(value = "客户代码")
    private java.lang.String khdm;
    /**客户名称*/
    @Excel(name = "客户名称", width = 15)
    @ApiModelProperty(value = "客户名称")
    private java.lang.String khdw;
    /**联系人*/
    @Excel(name = "联系人", width = 15)
    @ApiModelProperty(value = "联系人")
    private java.lang.String lxr;
    /**电话*/
    @Excel(name = "电话", width = 15)
    @ApiModelProperty(value = "电话")
    private java.lang.String lxdh;
    /**地址*/
    @Excel(name = "地址", width = 15)
    @ApiModelProperty(value = "地址")
    private java.lang.String lxdz;
    /**企业税号*/
    @Excel(name = "企业税号", width = 15)
    @ApiModelProperty(value = "企业税号")
    private java.lang.String nsrsbh;
    /**开户行*/
    @Excel(name = "开户行", width = 15)
    @ApiModelProperty(value = "开户行")
    private java.lang.String khhmc;
    /**账号*/
    @Excel(name = "账号", width = 15)
    @ApiModelProperty(value = "账号")
    private java.lang.String khhzh;
    /**邮箱*/
    @Excel(name = "邮箱", width = 15)
    @ApiModelProperty(value = "邮箱")
    private java.lang.String mryx;

    @Excel(name = "企业主键", width = 15)
    @ApiModelProperty(value = "企业主键")
    private java.lang.String companyId;

    @Excel(name = "共享标志", width = 15)
    @ApiModelProperty(value = "共享标志")
    private java.lang.String gxbz;
}
